package org.qqcui.designpattern.patterns.memorandum.simple;

/**
 * 保存原始状态类的中间状态数据
 *
 * @author cuiqingqiang
 * @version 1.0
 * @date 2022/5/7 10:17
 **/
public class Memento {

    private String state;

    public Memento(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }
}
